<style>
    .form-signin {
        max-width: 330px;
        padding: 15px;
        margin: 0 auto;
    }
    .form-signin .form-signin-heading,
    .form-signin .checkbox {
        margin-bottom: 10px;
    }
    .form-signin .checkbox {
        font-weight: normal;
    }
    .form-signin .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
    }
    .form-signin .form-control:focus {
        z-index: 2;
    }
    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
</style>
<?php
$model = new BDynamicFormModel();
$model->addField('media_email_applyMember_info');
$model->addField('media_password_applyMember_info');
$model->addField('media_name_applyMember_info');
?>

<div class="container">
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        "id" => "apply-manage-form",
        'enableAjaxValidation' => FALSE,
        'htmlOptions' => array('class' => 'form-signin', 'role' => 'form'),
    ));
    ?>
    <h3 class="form-signin-heading text-muted">申请管理员权限</h3>
    <?php
    echo CHtml::label('EMAIL地址和密码:', 'email');
    echo CHtml::activeTextField($model, 'media_email_applyMember_info', array(
        'class' => 'form-control',
        'placeholder' => '邮件地址...，以后可登录比邻！', 'required' => 'true', 'autofocus' => 'true'));
    echo CHtml::activePasswordField($model, 'media_password_applyMember_info', array(
        'class' => 'form-control',
        'placeholder' => '密码...',
        'required' => 'true'));
    echo CHtml::label('您的名字:', 'yourName');
    echo CHtml::activeTextField($model, 'media_name_applyMember_info', array(
        'class' => 'form-control',
        'placeholder' => '您的名字?',
        'required' => 'true'));
    ?>
    <label></label>
    <?php
    echo $control->getAjaxLink(
            array('name' => '提交', 'id' => 'manageBooking_applyMember'), array(
        'htmlOptions' => array(
            'class' => 'btn btn-primary btn-lg btn-block')));
    ?>
    <?php $this->endWidget(); ?>
</div>